core: Fix lgtm.com warning about always true `if (bits > 0)`
authorColin Walters <walters@verbum.org>
Sat, 27 Mar 2021 14:06:22 +0000 (14:06 +0000)
committerColin Walters <walters@verbum.org>
Wed, 7 Apr 2021 15:48:35 +0000 (11:48 -0400)
commitb5c21defe9a66d601941a2408fd1aca310588108
treedd2be8ebcce8bd8b6c6b7af066dae770d25f9bc3
parent80e4f27a599935ae2b98f469c8c5cd8b3889bc09
core: Fix lgtm.com warning about always true `if (bits > 0)`

Since we're not going to change this, let's constant fold the logic
here.
src/libostree/ostree-core.c